package com.sanshi.project.codegen.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author nikon
 * @date 2024/2/10
 * <p>
 * 特殊字段的填充策略和显示策略
 */
@Getter
@AllArgsConstructor
public enum SpecialColumnFiledEnum {
	/**
	 * remark 字段
	 */
	remark("1", "0", "textarea", "0", "0", "0",  97, "1", "", "", ""),

	/**
	 * image 字段
	 */
	image("1", "0", "upload-img", "0", "0", "0", 98, "0", "", "", ""),
	/**
	 * file 字段
	 */
	file("1", "0", "upload-file", "0", "0", "0", 99, "0", "", "", "");

	/**
	 * 表单是否默认显示 1/0
	 */
	private String formItem;

	/**
	 * 表单是否默认必填 1/0
	 */
	private String formRequired;

	/**
	 * 表单类型
	 */
	private String formType;

	/**
	 * 表格是否默认显示 1/0
	 */
	private String gridItem;

	/**
	 * 表格是否排序 1/0
	 */
	private String gridSort;

	/**
	 * 表格是否查询显示 1/0
	 */
	private String queryItem;

	/**
	 * 排序值
	 */
	private Integer sort;

	/**
	 * Excel是否导入导出 1/0
	 */
	private String excelItem;

	/**
	 * 关联表字段编码
	 */
	private String assoTableCode;

	/**
	 * 关联表字段名称
	 */
	private String assoTableText;

	/**
	 * 关联表表名
	 */
	private String assoTable;
}
